import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SysDict } from '../../entities/sys-dict.entity';
import { SysDictData } from '../../entities/sys-dict-data.entity';
import { DictService } from './dict.service';
import { DictController } from './dict.controller';

@Module({
  imports: [TypeOrmModule.forFeature([SysDict, SysDictData])],
  controllers: [DictController],
  providers: [DictService],
  exports: [DictService]
})
export class DictModule {}
